package com.suyin.ximoon.dao.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.suyin.ximoon.dao.LyUserDao;
import com.suyin.ximoon.dao.impl.BaseDaoImpl;
import com.suyin.ximoon.model.LyUser;

@Service
public class LyUserDaoImpl extends BaseDaoImpl<LyUser> implements LyUserDao {

	public List<LyUser> queryUserByPage(LyUser lyuser) {
		return this.sqlSessionTemplate.selectList(getSqlMapper("queryUserByPage"), lyuser);
	}

	@Override
	public List<LyUser> queryAll(LyUser lyuser) {
		return this.sqlSessionTemplate.selectList(getSqlMapper("queryAll"), lyuser);
	}

}
